import request from '@/utils/request'

// 查询文案内容配置列表
export function listAppcopywritingcontent(query) {
  return request({
    url: '/system/appcopywritingcontent/list',
    method: 'get',
    params: query
  })
}

// 查询文案内容配置详细
export function getAppcopywritingcontent(id) {
  return request({
    url: '/system/appcopywritingcontent/' + id,
    method: 'get'
  })
}

// 新增文案内容配置
export function addAppcopywritingcontent(data) {
  return request({
    url: '/system/appcopywritingcontent',
    method: 'post',
    data: data
  })
}

// 修改文案内容配置
export function updateAppcopywritingcontent(data) {
  return request({
    url: '/system/appcopywritingcontent',
    method: 'put',
    data: data
  })
}

// 删除文案内容配置
export function delAppcopywritingcontent(id) {
  return request({
    url: '/system/appcopywritingcontent/' + id,
    method: 'delete'
  })
}
